package com.wolfeyes.framework.springsecurity.domain.model;

import java.util.Date;

import org.apache.ibatis.type.Alias;

import lombok.Data;

import java.io.Serializable;

/**
 * 用户表(SysUser)实体类
 *
 * @author yanyljava
 * @since 2021-10-24 15:06:48
 */
@Data
@Alias(value = "sysUser2")
public class SysUser implements Serializable {
	
	private static final long serialVersionUID = 915478504870211231L;
	
	private Integer id;
	
	//账号
	private String account;
	
	//用户名
	private String userName;
	
	//用户密码
	private String password;
	
	//上一次登录时间
	private Date lastLoginTime;
	
	//账号是否可用。默认为1（可用）
	private Boolean enabled;
	
	//是否过期。默认为1（没有过期）
	private Boolean accountNonExpired;
	
	//账号是否锁定。默认为1（没有锁定）
	private Boolean accountNonLocked;
	
	//证书（密码）是否过期。默认为1（没有过期）
	private Boolean credentialsNonExpired;
	
	//创建时间
	private Date createTime;
	
	//修改时间
	private Date updateTime;
	
	//创建人
	private Integer createUser;
	
	//修改人
	private Integer updateUser;


	/*
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public Boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	public Boolean getAccountNonExpired() {
		return accountNonExpired;
	}

	public void setAccountNonExpired(Boolean accountNonExpired) {
		this.accountNonExpired = accountNonExpired;
	}

	public Boolean getAccountNonLocked() {
		return accountNonLocked;
	}

	public void setAccountNonLocked(Boolean accountNonLocked) {
		this.accountNonLocked = accountNonLocked;
	}

	public Boolean getCredentialsNonExpired() {
		return credentialsNonExpired;
	}

	public void setCredentialsNonExpired(Boolean credentialsNonExpired) {
		this.credentialsNonExpired = credentialsNonExpired;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getCreateUser() {
		return createUser;
	}

	public void setCreateUser(Integer createUser) {
		this.createUser = createUser;
	}

	public Integer getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(Integer updateUser) {
		this.updateUser = updateUser;
	}
	*/

}

